/*
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
 *
 * This file is part of retabel.
 *
 * Copyright (c) 2011 by individual contributors as indicated by the
 * @author tags. See the copyright.txt file in the distribution
 * for a full listing of individual contributors.
 *
 * This is free software; you can redistribute it and/or modify it
 * under the terms of the GNU Lesser General Public License as
 * published by the Free Software Foundation; either version 2.1 of
 * the License, or (at your option) any later version.
 *
 * This software is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this software; if not, write to the Free
 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
 * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
 */

package org.retabel.ui;

import java.util.Date;

/**
 * Failure Object UI bean
 * <p/>
 * <h3>Extra-Info</h3>
 * Created: 20:39 08.09.11
 *
 * @author Peter Herber
 * @version 1.0
 */
public class FailureObjectUI {

    private int id;
    private String className;
    private Date created;
    private Date lastRedo;

    // beans

    /**
     * Gets the id.
     *
     * @return The id value.
     */
    public int getId() {
        return id;
    }

    /**
     * Sets the id.
     *
     * @param newId The id value to set.
     */
    public void setId(int newId) {
        this.id = newId;
    }

    /**
     * Gets the lastRedo.
     *
     * @return The lastRedo value.
     */
    public Date getLastRedo() {
        return lastRedo;
    }

    /**
     * Gets the created.
     *
     * @return The created value.
     */
    public Date getCreated() {
        return created;
    }

    /**
     * Sets the lastRedo.
     *
     * @param newLastRedo The lastRedo value to set.
     */
    public void setLastRedo(Date newLastRedo) {
        this.lastRedo = newLastRedo;
    }

    /**
     * Sets the created.
     *
     * @param newCreated The created value to set.
     */
    public void setCreated(Date newCreated) {
        this.created = newCreated;
    }

    /**
     * Gets the className.
     *
     * @return The className value.
     */
    public String getClassName() {
        return className;
    }

    /**
     * Sets the className.
     *
     * @param newClassName The className value to set.
     */
    public void setClassName(String newClassName) {
        this.className = newClassName;
    }
}
